﻿@model IEnumerable<DataModel.Models.GroupModel>

@{
    ViewBag.Title = "GroupList";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>GroupList</h2>

@foreach (var gr in Model)
{
    <a href="@Url.Action(gr.Number.ToString(), "Journal")" class="list-item">@gr.Number</a>
    <br />
}